package com.shycloud.mido.opter.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.shycloud.mido.opter.api.entity.StockWarehouseDetail;
import com.shycloud.mido.opter.api.vo.StockWarehouseDetailVO;
import org.apache.ibatis.annotations.Param;

/**
 * @author Xiaoxing Yu
 * @date 2020/9/29
 **/
public interface StockWarehouseDetailMapper extends BaseMapper<StockWarehouseDetail> {

	IPage<StockWarehouseDetailVO> pageGoodsStockAmount(@Param("page") Page page,
													   @Param("warehouseId") Integer warehouseId,
													   @Param("goodsId") Integer goodsId,
													   @Param("categoryId") Integer categoryId);

}
